package com.itheima.health.dao;

import com.itheima.health.pojo.Order;
import com.itheima.health.pojo.Submit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface OrderDao {
    @Select("select m.id,t.id,t.orderDate,t.orderStatus,t.orderType,s.id from t_setmeal s, t_member  m left join t_order t on m.id = t.member_id where s.id =#{setmealId} ;")
    Order select(Submit submit);
}
